public class test
{
    public static void main(String[] args){
        System.out.println("创建老板1对象");
        boss boss1 = boss.getboss();
        boss1.show();
        System.out.println("创建老板2对象");
        boss boss2 = boss.getboss();
        boss2.show();
        System.out.println("老板1和老板2是否相等："+(boss1==boss2));
        System.out.println("创建老板3对象");
        boss boss3=boss.getboss();
        boss3.show();



    }
}
